package com.iris.live.services.services.impl;

import com.iris.live.services.data.repositories.TodayExhibitionHistoryRepository;
import com.iris.live.services.services.TodayExhibitionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created by ThinkPad on 2016/9/22.
 */
@Service
@Transactional//(readOnly = true)
public class TodayExhibitionServiceImpl implements TodayExhibitionService {
    @Autowired
    private TodayExhibitionHistoryRepository todayExhibitionHistoryRepository;


    @Override
    public List getTodayExhibition(String permit,String startDate) {
       List list= todayExhibitionHistoryRepository.getTodayExhibitionHistroyRecord(permit,startDate);
        return list;
    }
}
